package com.qqtech.qquan.draw.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class DrawBatch extends BaseDomain{

	//columns START
    /** 抽奖奖品ID */
	private java.lang.Integer drawItemId;
    /** 抽奖baseID */
	private java.lang.Integer drawBaseId;
    /** 数量 */
	private java.lang.Integer quantity;
    /** 中奖率,1-100以内 */
	private java.lang.Integer rate;
	//columns END
	public DrawBatch(){
	}

	public DrawBatch( java.lang.Integer id ){
		this.id = id;
	}

	public void setDrawItemId(java.lang.Integer drawItemId) {
		this.drawItemId = drawItemId;
	}

	public java.lang.Integer getDrawItemId() {
		return this.drawItemId;
	}
	
	public void setDrawBaseId(java.lang.Integer drawBaseId) {
		this.drawBaseId = drawBaseId;
	}

	public java.lang.Integer getDrawBaseId() {
		return this.drawBaseId;
	}
	
	public void setQuantity(java.lang.Integer quantity) {
		this.quantity = quantity;
	}

	public java.lang.Integer getQuantity() {
		return this.quantity;
	}
	
	public void setRate(java.lang.Integer rate) {
		this.rate = rate;
	}

	public java.lang.Integer getRate() {
		return this.rate;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

